package com.canal.collection.repository;

import com.canal.collection.entity.CashUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author yangbo
 * @date 2020-07-02 21:24
 * @description
 * @since
 */
public interface CashUserRepository extends JpaRepository<CashUser,Long> {

    /**
     * 通过手机号查询用户
     * @param phone
     * @return
     */
    CashUser findByPhone(String phone);
}
